<%--
  Created by IntelliJ IDEA.
  User: fudada
  Date: 2021/1/25
  Time: 16:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String str1 = null;
    String str2 = "";
    int[] arr = {};
%>
${empty str1} <br>
${empty str2} <br>
${empty arr} <br>


<% pageContext.setAttribute("gender", "women");%>
<input type="radio" name="gender" value="men" ${gender == "men" ? "checked":""}>男
<input type="radio" name="gender" value="women" ${gender == "women" ? "checked":""}>女




</body>
</html>
